package jiachunlei.facade;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/12/5 20:16
 */
public class ShapeMaker
{
    private Shape circle;
    private Shape rectangle;
    private Shape square;

    public ShapeMaker()
    {
        circle = new Circle();
        rectangle = new Rectangle();
        square = new Square();
    }

    public void drawCircle()
    {
        circle.draw();
    }

    public void drawRectangle()
    {
        rectangle.draw();
    }

    public void drawSquare()
    {
        square.draw();
    }
}
